Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ManuallyDrop::new -> forget where possible #1527

Closed
wants to merge 1 commit into from
Closed

ManuallyDrop::new -> forget where possible #1527

wants to merge 1 commit into from

Conversation

scottmcm
Copy link
Member

@scottmcm scottmcm commented Aug 26, 2020

In rust-lang/rust#75912 it said that I broke miri. I'm not sure how, but this is my best guess.

Feel free to take or leave this PR as you wish.

I don't know if this is actually the fix, but it seems like the only thing if my change actually caused the toolstate break.
@RalfJung
Copy link
Member

ManuallyDrop::new is preferred over forget, so this does not seem right... I'll investigate.

@RalfJung
Copy link
Member

The only file that failed testing is heap_allocator.rs. I am not sure why you are editing generator.rs?

@RalfJung
Copy link
Member

Oh, probably you were confused because the bot attributed the wrong PR. rust-lang/rust#75912 didn't break Miri, rust-lang/rust#75687 did. I'll close this PR and work on a fix.

Thanks for helping to keep Miri working!

@RalfJung RalfJung closed this Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants